import request from '@/utils/request';
/**
 * 客户群标签列表
 * @param data
 * @returns
 */
export const getCusTags = (data: any) => {
    return request({
        url: '/scrm-api/console/customer/groupchat-tag/list-tag',
        method: 'POST',
        data
    });
};

// 删除
export const delTagGroup = (data: any) => {
    return request({
        url: '/scrm-api/console/customer/groupchat-tag/del-group',
        method: 'POST',
        data
    });
};
// 编辑
export const editTagGroup = (data: any) => {
    return request({
        url: '/scrm-api/console/customer/groupchat-tag/update-group',
        method: 'POST',
        data
    });
};
// 新建
export const addTags = (data: any) => {
    return request({
        url: '/scrm-api/console/customer/groupchat-tag/create-group',
        method: 'POST',
        data
    });
};
// 获取标签组类别列表
export const getTagsList = (data: any) => {
    return request({
        url: '/scrm-api/console/customer/groupchat-tag/list-group-type',
        method: 'POST'
    });
};
